﻿@using Microsoft.AspNet.Identity
@model System.String

<a href="~/Account/Manage" title="Manage your account!">   
    @if (Model != null && Model.Length > 8)
    {
        <img src="data:image/png;base64,@Model" alt="Account Picture" class="profile-picture" width="15" />
    }
    else
    {
        <img src="~/img/default-image.jpg" alt="Account Picture" class="profile-picture" width="15" />
    }
    
    @User.Identity.GetUserName()
</a>